package cn.edu.scau.cmi.zhuyuxian.SingletonExam;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
//import Application;

public class SingletonMain extends Application {
	@Override
	public void start(Stage primaryStage) {
        try {
            // Read file fxml 
          Parent root = FXMLLoader.load(getClass().getResource("SingletonScene.fxml"));  
          Scene scene = new Scene(root,400,400);
          primaryStage.setScene(scene);
          primaryStage.show();

        } catch(Exception e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        launch(args);
    }

}